Set Bookmark Content
AutomatR.Word.Activities.SetBookmarkContent
The "Set Bookmark Content" activity in AutomatR is part of the Word activities package, designed to add text at a specified bookmark location within a Word document. This activity streamlines the process of inserting content precisely where needed, enhancing document customization in automation workflows.
Properties
Name | Description |
---|---|
Input | |
Bookmark Name | Select Text to enter the name of the bookmark where text will be added in the document. String variables containing the bookmark name. |
Bookmark Text | Select Text to enter the text that will be added at the bookmark location in the document. String variables containing the bookmark text. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. Enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Set Bookmark Content" activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Set Bookmark Content" activity onto the workflow.
- Configure the properties by specifying the bookmark name and the text to be added at the bookmark location within the Word document.
- Optionally, configure the delay before executing the activity.
- Execute the workflow to add text at the specified bookmark location in the Word document.
Example:
Consider an example where the "Set Bookmark Content" activity is used to add a specific text ("Automation is powerful") at a bookmark named "Description" in a Word document:
Set Bookmark Content:
Bookmark Name: "Description"
Bookmark Text: "Automation is powerful"
In this example, the activity inserts the text "Automation is powerful" at the bookmark named "Description" within the Word document.